<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" errorPage="/error.jsp" isELIgnored="false" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.opensymphony.com/oscache" prefix="cache" %>
<%@ taglib uri="http://atleap.blandware.com/taglib" prefix="atleap" %>
<html:xhtml />

<atleap:constants className="com.blandware.atleap.webapp.util.core.WebappConstants" var="HTML_TEXT_FIELD_MAX_LENGTH" />
<atleap:javascript formName="searchForm" staticJavascript="false" dynamicJavascript="true" method="validateSearchForm" cdata="false" />
<atleap:form action="core/search/search" onsubmit="var result = validateSearchForm(this) && doCheckLuceneQuery(this.query); disableButtons(this, result); return result;">

     <div id="searchForm" align="center">
        <atleap:label property="query" styleClass="label" key="core.search.form.query" colon="false" helpTip="false" />
        <html:text styleClass="text" maxlength="${pageScope.HTML_TEXT_FIELD_MAX_LENGTH}" property="query" style="width: 150px;" />
        <html:hidden property="timePeriod" value="0" />
        <atleap:submit styleClass="button"><atleap:message key="core.commons.buttons.search" /></atleap:submit>
        <br />
        <atleap:link action="core/search/callSearch"><atleap:message key="core.search.form.advancedSearch" /></atleap:link>
     </div>

</atleap:form>

